/*
 * Copyright (C) 2023 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.templateproject.bean;

//import anet.channel.strategy.dispatch.DispatchConstants;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class OriginalImageEntity {
    @NotNull
    private String filePath;
    @NotNull
    private String originalImage;

    public OriginalImageEntity(@NotNull String originalImage, @NotNull String filePath) {
        Intrinsics.checkNotNullParameter(originalImage, "originalImage");
        Intrinsics.checkNotNullParameter(filePath, "filePath");
        this.originalImage = originalImage;
        this.filePath = filePath;
    }

    public static /* synthetic */ OriginalImageEntity copy$default(OriginalImageEntity originalImageEntity, String str, String str2, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            str = originalImageEntity.originalImage;
        }
        if ((i2 & 2) != 0) {
            str2 = originalImageEntity.filePath;
        }
        return originalImageEntity.copy(str, str2);
    }

    @NotNull
    public final String component1() {
        return this.originalImage;
    }

    @NotNull
    public final String component2() {
        return this.filePath;
    }

    @NotNull
    public final OriginalImageEntity copy(@NotNull String originalImage, @NotNull String filePath) {
        Intrinsics.checkNotNullParameter(originalImage, "originalImage");
        Intrinsics.checkNotNullParameter(filePath, "filePath");
        return new OriginalImageEntity(originalImage, filePath);
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof OriginalImageEntity)) {
            return false;
        }
        OriginalImageEntity originalImageEntity = (OriginalImageEntity) obj;
        return Intrinsics.areEqual(this.originalImage, originalImageEntity.originalImage) && Intrinsics.areEqual(this.filePath, originalImageEntity.filePath);
    }

    @NotNull
    public final String getFilePath() {
        return this.filePath;
    }

    @NotNull
    public final String getOriginalImage() {
        return this.originalImage;
    }

    public int hashCode() {
        return (this.originalImage.hashCode() * 31) + this.filePath.hashCode();
    }

    public final void setFilePath(@NotNull String str) {
        Intrinsics.checkNotNullParameter(str, "<set-?>");
        this.filePath = str;
    }

    public final void setOriginalImage(@NotNull String str) {
        Intrinsics.checkNotNullParameter(str, "<set-?>");
        this.originalImage = str;
    }

    @NotNull
    public String toString() {
        return "OriginalImageEntity(originalImage=" + this.originalImage + ", filePath=" + this.filePath + ')';
    }
}